package com.kehutong.crm.message.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

@Table(value="t_message_account_config", comment="用户消息配置", multi=true, idType = IDType.TIMESTAMP)
public class MessageAccountConfig extends Entity {

    private static final long serialVersionUID = 801401781836673999L;

    protected MessageAccountConfig(String id) {
        super(id);
    }

    @Column(comment = "待办任务")
    private boolean preJob;

    @Column(comment = "待办工单")
    private boolean preWorkOrder;

    @Column(comment = "待批申请")
    private boolean preApprove;

    @Column(comment = "系统通知")
    private boolean sysNotice;

    public boolean isPreJob() {
        return preJob;
    }

    public void setPreJob(boolean preJob) {
        this.preJob = preJob;
    }

    public boolean isPreWorkOrder() {
        return preWorkOrder;
    }

    public void setPreWorkOrder(boolean preWorkOrder) {
        this.preWorkOrder = preWorkOrder;
    }

    public boolean isPreApprove() {
        return preApprove;
    }

    public void setPreApprove(boolean preApprove) {
        this.preApprove = preApprove;
    }

    public boolean isSysNotice() {
        return sysNotice;
    }

    public void setSysNotice(boolean sysNotice) {
        this.sysNotice = sysNotice;
    }
}
